package com.homestead.service;

import java.util.List;

/**
 * @author yhb
 * @date 2021-05-25 8:34
 */
public interface CouponRedisService {
    List<String> tryToAcquireCouponCodesFromCache(String keyName, int amount);

    List<Long> tryToAcquireCouponIdsFromCache(String keyName, int amount);
}
